CC=gcc
#CC=arm-linux-gnueabihf-gcc
# CC=gcc-14

# CFLAG=-D_GNU_SOURCE

all:server client

server:server.c
	$(CC) -Wall ${CFLAG} server.c -o thread_server -lpthread
	cp thread_server ../

client:client.c
	$(CC) -Wall ${CFLAG} client.c -o thread_client -lpthread

clean:
	rm thread_server thread_client ../thread_server
